<div class="panel panel-fix">
	<div class="panel-heading"> <h3 class="panel-title"><span class="glyphicon glyphicon-fire"></span> <?= __('Login') ?></h3> </div>
	<div class="panel-body">
		<?php echo $this->Form->create('User', array('class' => 'form-horizontal form-bordered'));?>
		<div class="portlet-body form">
			<div class="form-body">
				<div class="form-group">
					<div class="col-sm-12"><?php echo $this->Session->flash(); ?></div>
				</div>
				
				<div class="form-group">
					<label class="col-sm-4 control-label"><?= __('Username Or E-mail'); ?></label>
					<div class="col-sm-5">
						<?php echo $this->Form->input($als.'.username', array( 'label' => false, 'div' => false, 'class' => 'form-control', 'placeholder' => 'Enter username or e-mail' ) )?>
					</div>
				</div>

				<div class="form-group">
					<label class="col-sm-4 control-label"><?= __('Password'); ?></label>
					<div class="col-sm-5">
						<?php echo $this->Form->input($als.'.password', array( 'type' => 'password', 'label' => false, 'div' => false, 'class' => 'form-control', 'placeholder' => 'Enter pasword' ) )?>
					</div>
				</div>

			</div>
			<div class="form-actions fluid">
				<div class="col-md-offset-4 col-md-8">
					<button type="submit" class="btn btn-success"><?= __('Login') ?></button>
				</div>
			</div>
		</div>
		<?php echo $this->Form->end( ); ?>
	</div>
</div>